package xyz.vmcserver.wdibbs.model.service;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import xyz.vmcserver.wdibbs.model.po.UserView;
import xyz.vmcserver.wdibbs.model.vo.User;

import java.util.List;

//@Service
public interface UserService {


    Boolean register(User user);

    User login(User user);

    Boolean active(String code);

    UserView userInfo(String username);

    String[] getGroupInfo(String groupAlias);

    List<UserView> searchUserByKeyAndValuePages(String value ,Integer page , String sortType,String sortValue);
}
